<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户列表</title>
<jsp:include page="/common/header-common.jsp"></jsp:include>
<script type="text/javascript">
	function expexcel(){
		window.location = "../expexcel.action?type=userQuery";
	}
</script>
</head>
<body>
<jsp:include page="header.jsp" />
<jsp:include page="menu.html" />
<s:form action="/admin/devicelist.action" theme="simple">
<div class="content">
	<div class="pagetitle">>>用户列表</div>
	<div id="btn_left">
	<ul>
		<li><a href="#" onclick="javascript:expexcel();"><span><img src="../images/bt_expexcel.gif"  align='absmiddle'/></span></a></li>
	</ul>
	</div>
	<input type="hidden" name="currPage" value="0" />
	<jsp:include page="../common/pager.jsp"></jsp:include>
	<table class="tablecolor2" width="100%" align="center">
		<tr>
			<th>用户ID</th>
			<th>用户名</th>
			<th>创建时间</th>
			<th>用户等级</th>
			<th>操作</th>
		</tr>
		<s:iterator value="pages" id="user" status="stat">
			<tr align="left">
				<td align="left" style="padding-left: 10px;">
					<s:property value="#user.userid"/>
				</td>
				<td align="left" style="padding-left: 10px;">
					<s:property value="#user.username"/>
				</td>
				<td align="left" style="padding-left: 10px;">
					<s:property value="#user.createTime"/>
				</td>
				<td align="left" style="padding-left: 10px;">
					<s:property value="#user.level"/>
				</td>
				<td align="left" style="padding-left: 10px;">
					<a href="../admin/userload.action?user.userid=<s:property value="#user.userid" />">修改</a>
				</td>
			</tr>
		</s:iterator>
	</table>
	<jsp:include page="../common/pager.jsp"></jsp:include>
</div>
</s:form>
<jsp:include page="../common/footer.jsp" />
</body>
</html>